package org.rc.service;

import org.rc.entity.UserRole;

import java.util.List;

public interface UserRoleService {

    void batchSave(List<UserRole> userRoles);

    void saveUserRole(UserRole userRole);

    void deleteByUserId(Long userId);

    void deleteByUserIds(List<Long> userIds);

    List<UserRole> selectByRoleIds(List<Long> roleIds);

    List<UserRole> selectByUserIds(List<Long> userIds);

    List<UserRole> selectByUserId(Long userId);

    List<UserRole> selectByRoleId(Long roleId);

}
